<div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
        <h1>
            24hours
            <small>it all starts here</small>
        </h1>
        <ol class="breadcrumb">
            <li><a href="{:url('/admin/index/index')}"><i class="fa fa-dashboard"></i> 控制台</a></li>
            <li><a href="#">24小时动态列表</a></li>
        </ol>
    </section>

    <!-- Main content -->
    <section class="content">
        <div class="box">
                    <div class="box-header with-border">
                        <h3 class="box-title"></h3>
                    </div>
                    <!-- /.box-header -->
                    <div class="box-body">
                        <table class="table table-bordered center"><tbody>
                        <tr>
                            <th style="width: 60px">
                                <label for="checkall" class="btn btn-default">
                                    <input type="checkbox" value="" id="checkall" class="pointer">
                                    全选
                                </label>
                            </th>
                            <th>标题</th>
                            <th>作者</th>
                            <th>缩略图</th>
                            <th>发布时间</th>
                            <th style="width: 60px;text-align: center;">显示</th>
                            <th style="width: 100px;text-align: center">审核</th>
                        </tr>

                        <?php foreach($dynamic as $item){?>
                        <tr>
                            <td>
                                <label class="lb">
                                    <input type="checkbox" class="cbox"  value="" name="idarr[]">
                                </label>
                            </td>
                            <td><?php echo mb_substr($item['content'],0,30,"UTF-8"); ?></td>
                            <td>严雅静</td>
                            <td>
                                <img src="" alt="">
                            </td>
                            <td><?php echo date('m-d H:i',$item['pubtime']); ?></td>
                            <td><?php echo ($item['isshow']==1)?'是':'否'; ?></td>
                            <td>未审核</td>
                        </tr>
                        <?php } ?>
                        </tbody></table>
                    </div>
                    <!-- /.box-body -->
                    <div class="box-footer clearfix">
                        <button type="button" class="btn btn-danger"><i class="fa fa-trash-o"></i> 删除</button>
                        {$dynamic|raw}
                    </div>
                </div>
    </section>
</div>
